<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:component xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:composite="http://java.sun.com/jsf/composite">
		
		<span>Lifes</span>
		<br />
		<h:form>
			<table style="border-color: black;" border="1">
				<ui:repeat var="item" value="#{lifeEvolutors.lifes}"
					varStatus="first">
					<tr>
						<td><h:commandLink action="#{viewLife.exc}" value=""> #{item.getName()}
							<f:param name="evolutorName" value="#{item.getName()}" />
							</h:commandLink></td>
						<td>#{item.life.getClass().getName()}</td>
						<td>#{item.lifeInitializer.toString()}</td>
						<td>#{item.solver.toString()}</td>
						<td>
							<ui:include src="/jsf/views/manage-task.xhtml">
								<ui:param name="task" value="#{item}" />
							</ui:include>
						</td>
					</tr>
				</ui:repeat>
			</table>
		</h:form>
	
</ui:component>
